package com.chinasoft.class1.group3;

import com.chinasoft.main.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class ZhangZrTureWord implements TrueWord {
    List<String> wordList=new ArrayList<>();
    public ZhangZrTureWord(){
        wordList.add("起床了");
        wordList.add("睡觉了");
    }

    @Override
    public String getWord() {
        Random random=new Random();
        int index =random.nextInt(wordList.size());
        return wordList.get(index);
    }

    @Override
    public String getName() {
        return "张子锐";
    }
}
